portableSql

StringLength Portable SQL Function

Syntax

StringLength as N (String as C)

Arguments

StringCharacter

A field or value.

Returns

resultCharacter

Returns the length of the string.

Description

Compute the length of String.

Discussion

The StringLength function computes the length of a string.

StringLength() function executed on the Northwind Access database
SELECT FIRST 1 StringLength(CompanyName) AS Expr1 FROM Customers
=19